package com.hyb.service;

import com.hyb.Vo.StockVo;
import com.hyb.entity.Stock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyb.page.PageReq;

/**
 * <p>
 *  库存Service接口
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
public interface StockService extends IService<Stock> {
    void createStockInfo(Stock stock);

    PageReq getStockS(Integer limit, Integer current, String productType, String cargoName);

    StockVo getStockByStockId(Integer stockId);

    void updateStock(Stock stock);

    void deleteStock(Integer stockId);
}
